Cis Tagging Category CreateSpec

Cis Tagging Category CreateSpec
Cis Tagging Category CreateSpec

The Cis Tagging Category CreateSpec schema is used to create a category.

Use the POST /cis/tagging/category operation to create a category defined by the create specification.

JSON Example
{
    "name": "string",
    "description": "string",
    "cardinality": "string",
    "associable_types": [
        "string"
    ],
    "category_id": "string"
}
string
name
Required  

The display name of the category.

string
description
Required  

The description of the category.

string
cardinality
Required  

The associated cardinality (Cardinality) of the category.

For more information see: Cis Tagging CategoryModel Cardinality.

array of string
associable_types
Required  

Object types to which this category's tags can be attached.

string
category_id
Optional

This property was added in vSphere API 6.7.

If missing or null an identifier will be generated by the server

When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: com.vmware.cis.tagging.Category. When operations return a value of this schema as a response, the property will be an identifier for the resource type: com.vmware.cis.tagging.Category.